package com.wntms.ywa.utils;

import java.util.UUID;

/**
 * uuid工具类
 */
public class UUIDUtils {
    //生成新的uuid作为主键
    public static String createUUID(){
        String uuid= UUID.randomUUID().toString().replaceAll("-","").substring(0,12);
        return uuid;
    }
}
